<?php
/**
 * Short Description  
 *
 * Long Description 
 *
 * @category   
 * @package    
 * @subpackage 
 * @copyright 
 * @author     Sandeep Manne<sandeep.manne@costrategix.com>
 */

require_once "Core/System/Exception.php";

class Core_System_Factory 
{
	const DEBIAN = 'DEBIAN';
	const LINUX = 'LINUX';
	
	public static function getSystem($system)
	{
        switch( $system ) {
            case self::DEBIAN:
                return Core_System_Debian;
                break;

            case self::LINUX:
                return Core_System_Linux;
                break;
                
            default:
                throw new Core_System_Exception('Unknown System');
                break;
        }
	}
}